package com.blackline.UI.MATCH;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

/**
 * @author XBO
 * @version Jan, 2013
 * <p>This page is shown after clicking  "Display Fields" link in the MatchSetsDetails page.
 * Please refer to UI.ConfigureGridDisplayFields.png in doc-files.
 */
public class ConfigureGridDisplayFields {
	/**
	 * 
	 */
	@FindBy (xpath = "")
	public WebElement xx;
	
	/**
	 * Popup iFrmae
	 */
	@FindBy (name="RadDataView")
	public WebElement popup_iFrame;
	
	/**
	 * Available Fields
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_lbAvailableGridFields")
	public WebElement Available_Fields_selectionBox;
	
	/**
	 * 1st selection in Available Fields
	 */
	@FindBy (xpath = "//select[@id = 'ctl00_ctl00_contentBody_cphMain_lbAvailableGridFields']/option[1]")
	public WebElement firstSelection_inAvailableFields;
	
	/**
	 * Add Item icon in Available Fields
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_btnadditem")
	public WebElement Add_Item_iconInAvailableFields;
	
	/**
	 * Remove Item icon in Available Fields
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_btnremoveitem")
	public WebElement Remove_Item_iconInAvailableFields;

	/**
	 * Selected Fields
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_lbSelectedGridFields")
	public WebElement Selected_Fields_selectionBox;

	/**
	 * Up arrow in Selected Fields
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_btnmoveup")
	public WebElement Up_arrowInSelectedFields;
	
	/**
	 * Down arrow in Selected Fields
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_btnmovedown")
	public WebElement Down_arrowInSelectedFields;
	
	
	/**
	 * Subtotal Fields drop down list
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_ddlSubtotalFields")
	public WebElement Subtotal_Fields_dropDownList;
	
	/**
	 * Save button
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_btnSave")
	public WebElement Save_button;
	
	/**
	 * Cancel button
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_btnCancel")
	public WebElement Cancel_button;
	
	
}
